<%@page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib uri="TowkerTagLib" prefix="rbac"%>
<%@ taglib uri="/WEB-INF/tags/CommonFunction.tld" prefix="cfn" %>
<%@include file="/commons/include/html_doctype.html"%>
<html>
<head>
	<title>明细</title>
	<%@include file="/commons/include/getById.jsp" %>
	<script type="text/javascript">
$(function(){
	$(".form_title").css("width", "13%");
});
	</script>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" class="listLogo">
	<tr>
		<td class="title">采购付款申请明细</td>
		<td>
			<div class="menuTool">
				<a class="back" onclick="javascript:window.history.back();return false;" href="#">返回</a>
			</div>
		</td>
	</tr>
</table>
<div class="line"></div>
<table border="0" cellspacing="1" cellpadding="0" class="listTable">
	<tr>
		<td class="form_title">申请单号：</td>
		<td class="form_input">${fn:escapeXml(po.pay_sn)}</td>
	
		<td class="form_title">部门代码：</td>
		<td class="form_input">${fn:escapeXml(po.dept_code)}</td>
		
		<td class="form_title">制单日期：</td>
		<td class="form_input">${cfn:formatDate(po.create_date, 'yyyy-MM-dd')}</td>
	</tr>
	<tr>
	    <td class="form_title">制单时间：</td>
		<td class="form_input">${cfn:formatDate(po.create_time, 'yyyy-MM-dd HH:mm:ss')}</td>
		<td class="form_title">申请用户代码：</td>
		<td class="form_input">${fn:escapeXml(po.user_code)}</td>
	
		<td class="form_title">递交下一级审核日期：</td>
		<td class="form_input">${cfn:formatDate(po.audit_date, 'yyyy-MM-dd')}</td>
	</tr>
	<tr>
		<td class="form_title">递交下一级审核时间：</td>
		<td class="form_input">${cfn:formatDate(po.audit_time, 'yyyy-MM-dd HH:mm:ss')}</td>
	
		<td class="form_title">审核人员代码：</td>
		<td class="form_input">${fn:escapeXml(po.audit_user)}</td>
		
		<td class="form_title">申请单状态：</td>
		<td class="form_input" >
			<c:if test="${po.status==0}">申请单未递交到下一级</c:if>
			<c:if test="${po.status==1}">已经递交到下一级审核</c:if>
			<c:if test="${po.status==2}">同意采购付款</c:if>
			<c:if test="${po.status==3}">已经采购付款</c:if>
		</td>
	</tr>
	<tr>
		<td class="form_title">计划采购申请单号：</td>
		<td class="form_input" colspan="5">${fn:escapeXml(po.plan_sn)}</td>
	</tr>
	<tr>
		<td class="form_title">审核内容：</td>
		<td class="form_input" colspan="5">${fn:escapeXml(po.audit_remark)}</td>
	</tr>
</table>
</body>
</html>
